import { DataTpEnum } from '@/modules/bmppd/enums/DataTpEnum';

export class ProdTpAttrOpt {
  optLab = '';
  optVal = ''; //2位数字01-99
}

export class ProdTpAttr {
  attrId: string | undefined = undefined;
  attrCd = ''; //3位数字001-999
  attrNm = '';
  attrGrpNm = '';
  dataTpCd: DataTpEnum = DataTpEnum.TEXT;
  val: string | undefined = undefined;
  unit = '';
  unitNm = '';
  max = 0;
  min = 0;
  prec = 0;
  step = 0;
  len: number | undefined = undefined;
  frmt = '';
  multFlg = 0;
  addFlg = 0;
  skuFlg = 0;
  cstmFlg = 1;
  ordrNum = 0;
  rmrk = '';
  optList: ProdTpAttrOpt[] = [];
}
